#ifndef __BSP_KEY_H__
#define __BSP_KEY_H__

#include "stm32f10x.h"

#define KEY1_PORT       GPIOB
#define KEY1_PIN        GPIO_Pin_14

#define KEY2_PORT       GPIOB
#define KEY2_PIN        GPIO_Pin_13

#define KEY3_PORT       GPIOB
#define KEY3_PIN        GPIO_Pin_12

void bsp_InitKey(void);
uint8_t bsp_IsKey1Pressed(void);
uint8_t bsp_IsKey2Pressed(void);
uint8_t bsp_IsKey3Pressed(void);

#endif

